﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ComeSeeThis_MVC2.Models.Company>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Delete
    <%: Model.CompanyName %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
       <% Html.RenderPartial("SubMenu"); %>
 <h2>
        Delete
        <%: Model.CompanyName %></h2>
    <h3>
        Are you sure you want to delete
        <%: Model.CompanyName %>?</h3>
    <div class="warning">
        <h4>
            *** WARNING ***</h4>
        This will also delete all products associated with this company!!
    </div>
    <% using (Html.BeginForm())
       { %>
    <p>
        <input type="submit" value="Yes" />
        |
        <%: Html.ActionLink("No, go back to List", "Index") %>
    </p>
    <% } %>
</asp:Content>
